In one of my projects I have named and numbered "items" (in this case it's definitions, propositions, and remarks on a website on mathematics). The numbering is consecutive, according to a certain system. I have now added an "item" - and need the numbers of the items following the new item increment by one.

Example of original data:
definition_b.12
remark_b.13
remark_b.14
proposition_b.15

Here is as far that I got with my grep find/replace:

([ngzk])([_ ])([bB])\.14
\1\2\3\.15

The problem is, I currently have 40 "items" - which translates into up to 40 find/replaces - which is a lot of work by hand. I'm sure there must be a smarter way. But I'm new to Grep, and BBedit - so, I'm hoping someone here might be able to help me?

Thank you.
CJ Armbruster

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to