What is Regular Expression RegExr?
- Expression of a pattern in a string using special characters and words.
- For example, ([A-Z])\w+
How to use the Regular Expression?
The user can use this https://regexr.com/
For example:
If the user wants to ignore the word "CBD6581-MI" from CBD6581-MI Queen Sized Bed Frame - Charcoal Velvet. So the user can use this online RegExr to test it out.
From the above image, the user can see that this expression"^[A-Z]+[0-9]+[-]+[A-Z]+[A-Z]+[ ]" will be ignore the front word "CBD6581-MI".
To remove the comma from the sentences as below:
HP Elitebook 840 G8, 14""FHD, i5-1135G7,8GB, 256GB SSD, LTE 4G
to
HP Elitebook 840 G8 14""FHD i5-1135G7 8GB 256GB SSD LTE 4G
Please wrap the regular expression with *
For example: *^"|\,|"$*
*^"|\,|"$*
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article