Jump to content

Search the Community

Showing results for tags 'RegEx'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Official
    • Accordance Announcements
    • Tips for Users
  • Accordance Discussions
    • General Accordance Topics
    • Technical Support
    • Bug Swatters - Mac
    • Bug Swatters - Windows
    • Accordance for iOS
    • Accordance for Android
    • Podcasts
    • Original Languages
    • Syntax Modules
    • Feature Requests
    • Module Requests
    • Emulator Discussion
    • Preaching and Teaching with Accordance
    • Old Forums
  • Spanish Forums/Foros en español
    • Temas generales relacionados con Accordance
    • Ayuda y resolución de problemas
  • General
    • Mainly Macintosh
    • Windows Wisdom
    • Forum Comments, Suggestions & Help
    • Greek in a Year

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 results

  1. Darin Franklin

    RegexForAccordance

    I thought it would be fun to search Hebrew and Greek Bible texts with regular expressions, so I wrote a Mac app to do just that. RegexForAccordance can search any text module in Accordance (English too). http://darinfranklin.github.io/RegexForAccordance/images/Screen%20Shot%20Hebrew.png RegexForAccordance gets Unicode text from Accordance through AppleScript and then searches it line by line. Here are a few examples of what you can do. Find Greek words that end with ημι Text Module: GNT-T Range: Matt-Rev Search: \w+ημι\b Filters: Remove Diacritics Result: τιθημι, φημι, αφιημι, Συνιστημι, συμφημι Find Repeated Phrases in the Greek New Testament Text Module: GNT-T Range: Matt-Rev Option: Ignore Case Filters: None (Remove Diacritics for more matches) Search: \b(.+)\s+\1\b Result: http://darinfranklin.github.io/RegexForAccordance/images/Screen%20Shot%20Greek%20Repeated.png By including the verse reference in the search, you can produce some interesting verse lists. Find verse 3:16 in every book http://www.accordancebible.com/forums/index.php?showtopic=13286 Text Module: KJV Range: Gen-Rev Option: Include Reference Search: \b3:16\b Result: Gen 3:16, Exod 3:16, ..., Rev 3:16. Find "Tweetable" verses in ESV (140 characters or less, including the reference) http://www.accordancebible.com/forums/index.php?showtopic=14557 Text Module: ESV Range: Gen-Rev Option: Include Reference Filters: Remove Pilcrows and Trailing Spaces Search: ^.{1,140}$ Results: 18445 verses The statistics table on the right side of the search window shows the count and length of each hit, so you can do statistical studies on letters, words, or phrases. Count Hebrew Vowels in Psalm 22 Text Module: HMT-W4 Range: Ps 22 Filters: Remove Cantillation Search: . Result: http://darinfranklin.github.io/RegexForAccordance/images/Screen%20Shot%20Hebrew%20Vowels.png RegexForAccordance uses ICU Regular Expression syntax, provided by Apple. Find Palindromes in Hebrew (similar search in Accordance: http://www.accordancebible.com/Friday-Fun-Hannah-Is-A-Palindrome ) Text module: HMT-W4 Filter: Remove Cantillation and Points Search: \b(?:(\w)\w?\1|(\w)(\w)\w?\3\2|(\w)(\w)(\w)\w?\6\5\4)\b Result: 102 distinct hits Prov 30:1 דברי ׀ אגור בן־יקה המשא נאם הגבר לאיתיאל לאיתיאל ואכל׃ Find five consecutive words which begin with the letters אלהימ Text module: HMT-W4 Filter: None Search: \bא\w*\W+ל\w*\W+ה\w*\W+י\w*\W+מ\w* Result: 2 verses Zech 4:13 וַיֹּ֤אמֶר אֵלַי֙ לֵאמֹ֔ר הֲל֥וֹא יָדַ֖עְתָּ מָה־אֵ֑לֶּה וָאֹמַ֖ר לֹ֥א אֲדֹנִֽי׃ Lam 2:13 מָֽה־אֲעִידֵ֞ךְ מָ֣ה אֲדַמֶּה־לָּ֗ךְ הַבַּת֙ יְר֣וּשָׁלִַ֔ם מָ֤ה אַשְׁוֶה־לָּךְ֙ וַאֲנַֽחֲמֵ֔ךְ בְּתוּלַ֖ת בַּת־צִיּ֑וֹן כִּֽי־גָד֥וֹל כַּיָּ֛ם שִׁבְרֵ֖ךְ מִ֥י יִרְפָּא־לָֽךְ׃ ס I hope that some of you will find this useful. Its free and open source. Download it from GitHub. http://darinfranklin.github.io/RegexForAccordance/
  2. I've prepared and imported several user Bibles as well as a number of user-tools, but I'm not very happy with my workflow. I'd like to switch to another program that has a more powerful find/replace function using Regular Expressions. 1. I usually start with an HTML text and so I would like a program that displays all the HTML tags in a way that can be manipulated. 2. Also, it would be nice if the program could save my RegEx strings in case I want to prepare a similar text in the future. What is your favorite RegEx enabled program for preparing texts to be imported into Accordance?
×
×
  • Create New...