0
How to create a REGEX to search for a word in a string taking into account accented and/or upper case words.
A search similar to Ctrl+f
0
How to create a REGEX to search for a word in a string taking into account accented and/or upper case words.
A search similar to Ctrl+f
Browser other questions tagged regex
You are not signed in. Login or sign up in order to post.
What words are?
– Marlysson
The word comes from a parameter. Let’s take for example the question. Let’s look for the word "consideration" (this, without accent).
– Josivan Sousa
Why not use a specific language to remove these accents and regex to search for the already clean word? What language do you use? So we can suggest libs for this cleansing..
– Marlysson
I cannot remove all accents in the text as the text will be displayed to the user
– Josivan Sousa
Would not remove.. would be given a clean.. processed, found the values , done the match and return the original value..
– Marlysson
In my case does not answer. I will have to highlight the word found in the text. For example: "How to create a REGEX to search for a word in a string taking in consideration words with accents and/or upper case."
– Josivan Sousa
Let’s go continue this discussion in chat.
– Marlysson