Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home
0 votes

I have used this regex formula

(^6|^6.[0-9]) (years| experience)

to search experience with year that start with 6 but I'm not sure this is right. Help?

This doesn't seem to pick up the decimal number correctly.


by (50 points)

1 Answer

0 votes

Try this:

(?<![0-9.])6(.[0-9]+)? years

This will match:

6 years
6.25 years
6.9 years

If you optionally want to search for the word experience as well add ( experience) at the end, e.g.

(?<![0-9.])6(.[0-9]+)? years( experience)?
by (70.5k points)
but it also shows like
5.6,0.6,.. etc
ah, yes. I've edited the answer to check the the preceding character is not a number or a decimal point.
Is it possible  to search for the file that contain text six years/experience  with your above code??
six years( experience)?