How to use Regular Expression in Stock Sync?
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: *^"|\,|"$*
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: *^"|\,|"$*
Updated on: 27/09/2024
Thank you!