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

Hi,

I have a text file is lines of numbers.

I would like to save only lines that are with six numeric and above. Is that possible?

Example:

123

123456

12345678

I would like to keep only line:

123456

12345678

by (75 points)

Could you please provide a little more information, some sample data would be great?

2 Answers

0 votes

Example:

123

123456

12345678

I would like to keep only line:

123456

12345678

by (75 points)
0 votes

The regular expression:

\d{6}

Will find all numbers with 6 or more digits. So make sure that you're using Regular Expressions for Content searching (via the Options tab in Agent Ransack) and set Containing Text to: \d{6}

by (31.3k points)
...