User Tools

Site Tools


regular_expressions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
regular_expressions [2019/03/24 16:24]
steve
regular_expressions [2019/03/24 16:25]
steve
Line 3: Line 3:
 Using regular expressions will help you do some advanced querying and data manipulation. I've mostly used them in PostgreSQL. Using regular expressions will help you do some advanced querying and data manipulation. I've mostly used them in PostgreSQL.
  
-I don't have any examples of code, but I have an uncompleted [[lds-scriptures.js|Javascript project]] where I use them a lot.+I don't have any examples of code, but I have an uncompleted [[lds-scriptures.js|Javascript project]] where I use them.
  
 Here's some code that is a regular expression that will do forward and reverse lookups for "Book Chapter Verse(s)"​ ranges. This is Javascript here, but the patterns themselves won't change. Here's some code that is a regular expression that will do forward and reverse lookups for "Book Chapter Verse(s)"​ ranges. This is Javascript here, but the patterns themselves won't change.
 +
 +The context here is not related to the databases, but to examine a source of text data and find the strings that match.
  
 <​code>​ <​code>​
regular_expressions.txt ยท Last modified: 2019/03/24 16:26 by steve