3
I have the following problem, I believe I can solve it with regular expressions, but I am terrible with the same.
Let’s say I have a string that way: CONECTOR BNC FEMEA + F MACHO 024267
or so PLUG P-4 UNIVERSAL 006-096
, the position of the numbers can be anywhere, beginning, middle or end, need to take out the numerical sequences that are equal to or greater than 3 digits.
These digits are usually as a reference and I am using this information to search for images using the Google Custom Search API, if they are passed to perform the search usually does not return any results.
The desired result is:
Entree: CONECTOR BNC FEMEA + F MACHO 024267
Exit: CONECTOR BNC FEMEA + F MACHO
It worked perfectly, thank you very much. :)
– Paulo C. Teixeira