[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

how to find code with full line containing only 'dim ds as new Dataset' without finding other similar e.g'dim ds as new Dataset1'

hi, ive got a lot of code  containing
dim ds as new Dataset
dim ds as new Dataset1
dim ds as new Dataset2
dim ds as new Dataset3

i want to ctrl-f or edit-find&replace-find
and get only lines containing
dim ds as new Dataset

i dont want to find the other lines.
could i somehow bring a vbcrlf into the find command?

thanks!




0
jxharding
Asked:
jxharding
1 Solution
 
TimCotteeCommented:
Hi jxharding,

You can use:

Ctrl+F, enter

"dim ds as new Dataset\n" (without the " of course)

And tick the use checkbox and leave the dropdown at the default of "regular expressions".

This will effectively add a line terminator to the search which is what you need.

Tim Cottee
0
 
jxhardingAuthor Commented:
thanks a stack!
i think i owe you a coffeeshop by now!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now