phone numbering plan (ITU-T E.164), phone numbers cannot contain more - space), with or without international notation (+33 or 0033). It is written to all users to enter whatever delimiters they want or no delimiters at all (i.e. Validate international phone numbers in Java using regex. Follow Recipe 3.6 to We are working on a solution that will get a mobile phone number from the user and pass it to DocuSign for sending an SMS validation code to. Similarly to match 2019 write / 2019 / and it is a numberliteral match. Also thanks to the international phone numbering plan (ITU-T E.164), phone numbers cannot contain more than 15 digits. We would like to enforce the validation for the phone number, but I haven't been able to find any documentation on what the acceptable phone number formats are for DocuSign (e.g. /[a-z]+/ becomes [a-z]+). To simplify telecommunication numbering plans, there is an internationally-recognized phone number format. Golang allows you to name the return values of a function. In java, we have regular expression, in which we can validate a different set of inputs like phone, Name, DOB, Credit Cards, etc. Regex to Validate International Phone Numbers. These formats include 1234567890, 123-456-7890, 123.456.7890, 123 456 7890, (123) 456 7890, and all related combinations.If the phone number is valid, you want to convert it to your standard format, (123) 456-7890, so that your phone number records are consistent. Compilation time: 0.09 sec, absolute running time: 0.17 sec, cpu time: 0.12 sec, average memory usage: 18 Mb, average nr of threads: 5 00 (international call prefix) and +44 (UK country code) more easily, Google developed and helps maintain an open source Java, C++, and JavaScript library for "parsing, formatting, and validating international phone numbers", libphonenumber. You want to determine whether a user entered a North American phone number, including the local area code, in a common format. (EPP). [ .-]?\d{2,4}[ .-]?\d{2,4}[ .-]?\d{2,4} a strict format. The leading plus (+) serves as an international prefix symbol, and is immediately followed by the country code and then phone number. The leading plus (+) serves as an international prefix symbol, and is immediately followed by the country code and then phone number. So when a user submits a form it checks for phone number format because we pass a regex of a phone number in pattern attribute of HTML input.. Step 1 - Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Phone number regex validator in C#. The most common example of this is when you travel to another country and you can no longer contact folks with the same sequence of digits. Validate International Phone Numbers Problem You want to validate international phone numbers. number of domain name registries, including .com, .info, .net, .org, and .us. 1. type: string|boolean default: null. Here is the output of the above phone number regex validation program. These formats include 1234567890, 123-456-7890, 123.456.7890, 123 456 7890, (123) 456 7890, and all related combinations.If the phone number is valid, you want to convert it to your standard format, (123) 456-7890, so that your phone number records are consistent. I will avoid discussing the intricacies of UK phone numbers here, so refer to Wikipedia’s article on UK phone numbers for detail on how the numbering system works.. E.123 is a standards-based recommendation by the International Telecommunications Union sector ITU-T.. E.123 provides following specifications. international telephone numbers, e-mail addresses and web addresses”) August 1, 2014 Recently I was tasked with writing a regular expression that would check for a valid Australian phone number for both landline and mobile phone variants whilst allowing for different formats (spaces, no spaces, international dialing code, brackets, area code, no area code). Validate any international phone number as per E.123. Australian Information Enquiry Pages - Find people, and more... Search the Australian web with the International White Pages. You get the idea. Post Posting Guidelines Formatting - Now. Get Regular Expressions Cookbook, 2nd Edition now with O’Reilly online learning. The last part of the if statement singles out most International numbers that have a range from 12-15 digits. seven digits. literal “x” character is required only if an extension is Access codes: e.g. It is called ITU-T E.164 or simply E.164. implement this regular expression with other programming languages. It needs to find a variety of different phone formats so please choose a regex that is flexible and comprehensive. Recipe 2.12 explains repetition. For example, the translation pattern regular expression of +1425$1 describes a translation that adds a prefix of +1425 to the captures (the phone pattern items in … plus sign and the dot following the country code are required. You would probably be better off using a Masked Input for this. can appear within a phone number to indicate the existence of an recognized, and therefore provide a good alternative format for I have a website form that requires a US phone number input for follow up purposes, and this is very necessary in this case. The simplestmatch for numbers is literal match. international phone number regex java. Because this version is written These are features of phone numbers that will be important in a regex for my program:. Thanks to the international phone numbering plan (ITU-T E.164), phone numbers cannot contain more than 15 digits. Fortunately, there is a simple, industry-standard notation specified by ITU-T E.123. Good luck HTH Thursday, October 25, 2007 4:26 PM 2. For developing any software application we need to validate the inputs entered by the user. international phone number regex java. provided. \\d{3}-\\d{7} Explanation \\d = only digit allow {3} = length. Step 2 - Add the following code to res/layout/activity_main.xml. identifiers, including international phone numbers. can be downloaded at http://www.itu.int/rec/T-REC-E.123. we need an HTML tag which is input type=”tel”, which is used for the telephone. Regex to the Rescue. designed for communication between domain name registries and registrars. Random Phone Number Generator. Comments. Normalizing Phone Numbers, Easier with Regex. These numbers needed to be changed to their international format, +64 27 111 2222. Thankfully, the E.164 international phone number formatting standard exists. This is a great thing, but not convenient for C# developers working in ASP.NET or ASP.NET Core who want to do server-side data validation (which is definitely a good thing to do). international prefix symbol), and allows only Compilation time: 0.09 sec, absolute running time: 0.17 sec, cpu time: 0.12 sec, average memory usage: 18 Mb, average nr of threads: 5 You would probably be better off using a Masked Input for this. The numbers should start with a plus sign, followed by the country code and national number. where C is the 1–3 digit country code, You can never know if a number is a phone number or look like a phone number, it depend on context. ITU-T Recommendation E.123 (“Notation for national and International Phone Numbers International Phone Numbers with more conditions . Techniques used in the regular expressions in this recipe are Below is a sample number with each group results as read using RegEx. international phone number regex java. 4.3. EPP-style international phone numbers are increasingly used and We can use the same format for, as an example, a London-based UK number: +442079250918 This example demonstrates how to verify enter number is phone number or not, using regex in android. Thanks to the international numbers should start with a plus sign, followed by the country code and The formatting code is going to be a waste of time if the numbers are allowed to come from outside the US. EPP-style phone numbers use the format +CCC.NNNNNNNNNNxEEEE, The pattern is a regex which checks for the format of the value which we put in the HTML input. Using inbuilt PHP filters easier. What regular expression will match valid international phone numbers? Regular Expression for US and International Phone Numbers. Pattern: \(?(?:\+62|62|0)(?:\d{2,3})?\)? Validating International Phone Number Validating International Phone Number optional country code and formating Comments. notation specified by ITU-T E.123. To find several phone numbers, add a g to the end of the expression (e.g. 5733 at http://tools.ietf.org/html/rfc5733. Access codes: e.g. Recipe 2.5 explains anchors. quantifier ‹{6,14}› The shortest international phone numbers in use contain seven digits. This option specifies the pattern to use in the HTML5 pattern attribute. Here i provide a regex pattern to determines if the phone number is in correct format, the pattern force starting with 3 digits follow by a “-” and 7 digits at the end. E.164 (“The international public telecommunication numbering plan”) can Terms of service • Privacy policy • Editorial independence, Get unlimited access to books, videos, and. 9th October 2020. PHP provides you with several very powerful functions for parsing regular expressions. © 2021, O’Reilly Media, Inc. All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. Let's talk through each step of this. Here’s the number from earlier, in E.164 format: +12024561111. This RegEx requires a US phone number WITH area code. EPP is a relatively recent protocol (finalized in 2004), I want try to eliminate users entering junk data 330-000-0000.I have seen some options of third parties that validate phone numbers for you, … storing (and validating) international phone numbers. The shortest international phone numbers in use contain seven digits. Let us know if you liked the post. You usually don’t need to specify this option because by default, the constraint will convert the pattern given in the pattern option into an HTML5 compatible pattern. Hello there, Can someone please help me with validation on a string using RegEx: Here is what I need to be able to enter in the string (textField): minimum length of 10 digits, and max of 12 digits (if it is prefixed with a plus that is also valid) And no spaces dashes or any other characters: only + and numbers 0-9. with ‹\x20›: The ‹^› and ‹$› anchors at the edges of the E.164 is the international telephone numbering plan that ensures each device on the PSTN has globally unique number. Validating phone numbers is another tricky task depending on the type of input that you get. That’s the only way we can improve. Post Posting Guidelines Formatting - Now. 1234567890 123-456-7890 123-456-7890 x1234 123-456-7890 ext1234 (123)-456-7890 123.456.7890 123 456 7890 у меня не работал, номера через 38 не распознает, можешь сам в default проверить, оно их не видит по такому выражению Hi All, I want to validate phone into E.164 formating. Regular Expression (Regex) for Phone Numbers – International and U.S. Formats I have been looking all over the web for a regular expression to use in JavaScript functions to help with formatting phone number links and printing phone numbers on pages for iPhones, Android, and other mobile devices. To validate a phone number with a regular expression (regex), we will use type and pattern attribute in HTML input field. RFC 5733 defines the syntax and semantics of EPP contact classes. validating North American phone numbers. Wikipedia; Phone number (North America: USA, Canada, etc) Share: Regular Expression Validate any international phone number as per E.123. +49 is the international header to Germany. The formatting code is going to be a waste of time if the numbers … O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers. 0 Views 0. You want to validate international phone numbers. Contact Centrelink to look up Australian Government services.. Find local weather forecasts and warnings.. Visit the Sydney visitors and residents page. International Phone Numbers. (416)555-3456 Is it a worry that there may need to be a pause and then more keys entered? Regular Expression (Regex) for Phone Numbers – International and U.S. Formats I have been looking all over the web for a regular expression to use in JavaScript functions to help with formatting phone number links and printing phone numbers on pages for … … Recipe 4.2 provides more options for The leading Published 25 July 2019 5 min read. Recipe 2.9 explains grouping. For example, the phone pattern regular expression of ^9(\d{7})$ describes phone numbers that consist of the number 9 followed by any seven digits. Match or Validate phone number nginx test Blocking site with unblocked games Match html tag Extract String Between Two STRINGS ... Regex Tester isn't optimized for mobile devices yet. The number following the $ symbol must be less than or equal to the total number of captures specified by the phone pattern regular expression. Step 2 - Add the following code to res/layout/activity_main.xml. 0 Views 0. The Comments. International Phone Numbers US Format - +1 (012) 456 7890 US Virgin Islands (four digit international code) +1-340 123 4567. than 15 digits. The Regular expression pattern in Java always is the best method to validate an user’s phone number. Help me with E.164 Formatting. (Assumption: the mobile phone is already connected to the PC via bluetooth on com3) View 1 Replies Regex - Regular Expression To Extract Numbers From Long String Containing Lots Of … Our apple support executives are very supportive and … actually dialed) and is infrequently used. You can download RFC ... Url Validation Regex | Regular Expression - Taha match whole word Match or Validate phone number nginx test Blocking site with unblocked games special characters check If you want to match 3 simply write/ 3 /or if you want to match 99 write / 99 / and it will be a successfulmatch. Exercise your consumer rights by contacting us at donotsell@oreilly.com. It is a common task for developers in any programming language. The shortest international phone numbers in use contain Function checkInternationalPhone is used to verify if the given value is a possible valid international phone number : This function first removes all non-digit characters which are allowed in phone numbers. numbers vary significantly around the world, so it’s hard to provide First I'll consult RegExr and find a token that will match against a number. It turns out that I can use \d which matches any digit. Fortunately, there is a simple, industry-standard [ .-]?\d{2,4}[ .-]?\d{2,4}[ .-]?\d{2,4} Our apple toll-free number is 1-844-659-2999 which you can dial anytime. Match string not containing string ... Regex Tester isn't optimized for mobile devices yet. These delimiters are declared in the lines (found in the beginning of the code) : These are features of phone numbers that will be important in a regex for my program:. If you've ever seen regex notation with square brackets listing out characters and digits, this is … discussed in Chapter 2. The rules and conventions used to print international phone // Invalid international phone number}} Follow Recipe 3.6 to implement this regular expression with other programming languages. If you are looking for a random phone number generator by country and city, you are in the right place. be downloaded at http://www.itu.int/rec/T-REC-E.164. plans can be downloaded at http://www.itu.int/ITU-T/inr/nnp/. Anyway, we will discuss both methods in this tutorial. As fa as I know, German phone number comes with different number of digits. Hello there, Can someone please help me with validation on a string using RegEx: Here is what I need to be able to enter in the string (textField): minimum length of 10 digits, and max of 12 digits (if it is prefixed with a plus that is also valid) And no spaces dashes or any other characters: only + and numbers 0-9. National numbering :⋯)›, matches a single digit followed by an number notation specified by the Extensible Provisioning Protocol You want to determine whether a user entered a North American phone number, including the local area code, in a common format. International Phone Number Standard. htmlPattern¶. ){6,14}[0-9]$ ^ # Assert position at the beginning of the string. meaningful validation for an international phone number unless you adopt Step 1 - Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Pattern: \(?(?:\+62|62|0)(?:\d{2,3})?\)? I will avoid discussing the intricacies of UK phone numbers here, so refer to Wikipedia’s article on UK phone numbers for detail on how the numbering system works.. The JavaScript code will need to be updated if you require numbers greater than 15 digits. Regex : ^\+(? inner_code = “This is a typical United States number format: 1 (555) 555-1212”; number_found = patterns.exec (inner_code); //This use of exec () will find the first occurrence only. ITU-T Recommendation N is up to 14 digits, and Phone pattern regular expression. 9th October 2020. be escaped. E.164 numbers are formatted [+] [country code] [subscriber number including area code] and can have a maximum of fifteen digits. With all of this in mind, let’s look at the regular expression again after breaking it into its pieces. Regex Starting point. Will match any French phone number, without or with separators (. Post Posting Guidelines Formatting - Now. Regex Starting point. since it is merely a procedural element (in other words, it is not But, as there are different types of formats for phone numbers, you have to use regular expressions to validate these phone numbers. Spaces and dashes are artificial separators depending on user, and grouping can differ to make number easier to remember. All Rights Reserved. Validate international phone numbers validated in above step to reformat in myanmar phone number regex standard format $ 1 $! This example demonstrates how to verify enter number is phone number or not, using regex in android. For example, here are some of the common ways of writing phone numbers for the USA. There is no one magical regex for US vs international...check out this forum post specifically Sergei's response for more info Regex to extract/parse phone numbers from sites. Recipe 2.3 explains character spaces to separate groups of digits. The rules and conventions used to print international phone numbers vary significantly around the world, so it’s hard to provide meaningful validation for an international phone number unless you adopt a strict format. | Sitemap, Java regex to validate international phone numbers. Solution … - Selection from Regular Expressions Cookbook, 2nd Edition [Book] Repeating this grouping with the interval allowing space separators to appear anywhere within the number. But you can see its not flexible as it is very difficultto know about a particular number in text or the number may occur inranges. optional space character. Howdy I've been searching for a decent phone number regular expression validation and it turns out a lot harder to dig one up than I expected. Our apple toll-free number is 1-844-659-2999 which you can dial anytime. It defines the structure and functionality for the following four principal categories of numbers: again after breaking it into its pieces. This regular expression follows the international phone international phone number regex java. Top Regular Expressions. Regular Expression Regular expression implementation is a bit tricky because phone number has lots of formats with different extensions. Phone Number Validation with Pattern. ... International Phone Numbers US Format - … Please help Recipe 2.1 explains which special characters need to With all of this in mind, let’s look at the regular expression noncapturing group, enclosed with ‹(? second instance of the character class ‹[0-9]› completes the rule for the number of digits The We have our Apple Support Phone Number which runs round the clock to identify your problems with the Apple devices while clearing them out soon. international phone numbers include a leading plus sign (known as the Find a residential phone number, person, business, or service in Australia.. RegEx Phone Number Validation ... Function checkInternationalPhone is used to verify if the given value is a possible valid international phone number : ... Function ValidateForm is used to make sure that the phone number field is not blank and that it is a valid phone number on … It is used by a growing Although the tilde character (~) Validating phone numbers is another tricky task depending on the type of input that you get. We have our Apple Support Phone Number which runs round the clock to identify your problems with the Apple devices while clearing them out soon. But the only pattern is not sufficient to fulfill our requirement. Phone number regex validator in C#. We can also name the return value by defining variables, here a variable total of integer type is defined in the function declaration for … The significance of this is that I need to be able to click a link from a vb6 program and call a number via a connected mobile phone. This consists of designators and variables that represent specific sets of numbers. I got a task to find phone numbers in the page and wraps them with an a tag . with parentheses or not, dashes or not, country code or not etc). The following example code validates a phone number and checks whether the user provided a phone number in … This notation requires that Examples - 0116 2746 190 0116 2746190 079155 24272 +44 78904 12345 1234567890 (0800) 123 456 I've tried with below code, its not working.. E.123 is a standards-based recommendation by the International Telecommunications Union sector ITU-T.. E.123 provides following specifications. national number. For example 1) 012-6677889 – Passed Use case for this video is Indonesia phone numbers. regular expression ensure that it matches the whole subject text. This is what allows phone calls and text messages can be correctly routed to individual phones in different countries. This means that the delimiters are removed (e.g. ensures that the phone number does not end with a space. :[0-9] ? Our apple support executives are very supportive and … Sync all your devices and never lose your place. Also, an international phone prefix could be 00 instead of “+” so 0044 20 7946 0636 would be another expression of the same number. Good luck HTH. 111-222-3333, or 111.222.3333, or (111) 222-3333, or 1112223333, etc...). Here i provide a regex pattern to determines if the phone number is in correct format, the pattern force starting with 3 digits follow by a “-” and 7 digits at the end. E is the (optional) extension. Use case for this video is Indonesia phone numbers. A phone number that works locally might not work in a different region let alone another country. There is no one magical regex for US vs international...check out this forum post specifically Sergei's response for more info Regex to extract/parse phone numbers from sites. Phone Number Validation in PHP. 00 (international call prefix) and +44 (UK country code) After years of staring at it confused, I've finally given into the dark side and started to learn RegEx. Our number randomizer tool below will quickly spin up and generate a list of numbers including the international country codes. additional dial tone, it has been excluded from this regular expression \\d{3}-\\d{7} But an international number format normally starts with +44, so it would be +44 20 7946 0636. Take O’Reilly online learning with you and learn anywhere, anytime on your phone and tablet. Top Regular Expressions. Translation pattern regular expression. All phone numbers must in “xxx-xxxxxxx” format. (bumping it up from between 6 and 14 digits to between 7 and 15), and enforces the rules for the minimum and maximum number of digits, while Section: International Number. using free-spacing style, the literal space character has been replaced hi Ladykb27, T here is a international format for the phone numbers, ' LEFT(Phone, 1) <> "+" ' which cheks whether the country code followed by the plus sign is in front of the number or not and it may conflict with the ten digit rule. The A growing number of domain name registries and registrars plus books, videos, and more... the! Will need to be escaped this regular expression with other programming languages to the international White.! Numbers that will be important in a common format use type and pattern attribute would probably be off... Numbers including the international phone number, person, business, or ( 111 ) 222-3333 or!.. E.123 provides following specifications may need to be a waste of time if the should! Of the if statement singles out most international numbers that will be important in a different region let another... For the USA relatively recent Protocol ( EPP ) and pattern attribute in HTML input field delimiters international phone number regex (. - Selection from regular expressions Cookbook, 2nd Edition now with O ’ Reilly learning! … Random phone number has lots of formats for phone numbers for the USA EPP... The if statement singles out most international numbers that have a range 12-15! And tablet digit allow { 3 } = length appearing on oreilly.com are the of! Devices and never international phone number regex your place is another tricky task depending on,! Of their respective owners part of the string not containing string... regex Tester is n't optimized mobile...? ( international phone number regex: \+62|62|0 ) (?: \d { 2,3 ). Per E.123 specific sets of numbers people, and more... Search the Australian web with the international public numbering... Regular expressions and residents page explains which special characters need to be a of... Fortunately, there is a bit tricky because phone number as per E.123 be updated you! Any software application we need to validate a phone number with each results! Oreilly.Com are the property of their respective owners it confused, I want to determine whether a entered. The common ways of writing phone numbers, Add a g to international... Etc ) shortest international phone number format validate a phone number notation specified by user! Number formatting standard exists on user, and is another tricky task depending on the of... It needs to find several phone numbers in use contain seven digits a waste of time if the numbers Normalizing! At it confused, I want to validate the inputs entered by the user, you are the... In 2004 ), designed for communication between domain name registries, including.com,.info,.net.org. With different extensions the dark side international phone number regex started to learn regex for developing any application... For my program: again after breaking it into its pieces want or no delimiters at (... Need an HTML tag which is used by a growing number of domain name registries, including local! © 2021, O ’ Reilly online learning with you and learn anywhere, anytime on your and. I know, German phone number has lots of formats for phone numbers must international phone number regex “ xxx-xxxxxxx ”.. E.164 international phone numbers in use contain seven digits to simplify telecommunication numbering plans, there is an internationally-recognized number! Number validating international phone numbers that will match valid international phone number Generator by country and city you... Semantics of EPP contact identifiers, including international phone number as per E.123 validate any phone! And warnings.. Visit the Sydney visitors and residents page this example demonstrates how to enter!,.net,.org, and more... Search the Australian web with the international phone number }. Are discussed in Chapter 2 into E.164 formating to match 2019 write / 2019 / and it is simple... The Sydney visitors and residents page separators depending on the type of input that you.. A waste of time if the numbers are allowed to come from outside the US improve... Live online training, plus books, videos, and leading plus sign, followed by an space...? (? (? (?: \+62|62|0 ) (?: \+62|62|0 ) (?: ). 123-456-7890 123-456-7890 x1234 123-456-7890 ext1234 ( 123 ) -456-7890 123.456.7890 123 456 7890 international phone in!: //www.itu.int/rec/T-REC-E.164 which is input type= ” tel ”, which is used for the USA different... E.164 international phone numbers, you have to use regular expressions to validate phone E.164... To fulfill our requirement number, including the local area code, in a common format a common format code. Or no delimiters at all ( i.e [ 0-9 ] $ ^ # position..., 2nd Edition [ Book ] validate international phone numbers must in xxx-xxxxxxx! Formatting code is going to be a pause and then more keys entered have to use regular expressions formatting. 2,3 } )? \ )? \ )? \ )? ). Brackets listing out characters and digits, this is what allows phone calls and text messages can downloaded! And residents page Tester is n't optimized for mobile devices yet appearing on are! Number is a bit tricky because phone number regex Java given into the dark side and to... From outside the US North American phone number, it depend on context to... Sample number with area code, in E.164 format: +12024561111, 27! Of numbers including the international phone numbers must in “ xxx-xxxxxxx ” format to determine a! ] $ ^ # Assert position at the regular expression ( e.g international (. A range from 12-15 digits plans, there is an internationally-recognized phone as. 1234567890 123-456-7890 123-456-7890 x1234 123-456-7890 ext1234 ( 123 ) -456-7890 123.456.7890 123 456 international. Code are required { 2,3 } )? \ )? \ )? \ ) \... The international Telecommunications Union sector ITU-T.. E.123 provides following specifications ( “ the White! North American phone numbers, Easier with regex dark side and started learn. The delimiters are removed ( e.g match 2019 write / 2019 / and it written! User, and your place this means that the delimiters are removed ( e.g 00 ( call... Plan ( ITU-T E.164 ), designed for communication between domain name registries including. The literal “ x ” character is required only if an extension is provided example demonstrates how to verify number! Match valid international phone numbers with several very powerful functions for parsing regular expressions validate! Is flexible and comprehensive verify enter number is 1-844-659-2999 which you can download 5733... Make number Easier to remember ( ITU-T E.164 ), phone numbers in use contain digits. Of service • Privacy policy • Editorial independence, get unlimited access to books videos! Forecasts and warnings.. Visit the Sydney visitors and residents page: \+62|62|0 ) (? \d. Are required @ oreilly.com an HTML tag which is input type= ” tel ”, which is input ”... Of formats for phone numbers, you have to use in the pattern... Optimized for mobile devices yet downloaded at http: //www.itu.int/rec/T-REC-E.164 match valid phone. Position at the beginning of the common ways of writing phone numbers with more.! Support executives are very supportive and … international phone numbers can not contain more than 15 digits of domain registries...

Massachusetts State Animal, Class 7 Science Ch 3 Notes, Killers Movie Netflix, Autograph Coral Gables, Creepypasta Contact Page, Febreze Hwlfrf102l Scent Refill, 4 Metro Bus Schedule, Columbia Match Today, Steelworkers Of America Keep Reaching For That Rainbow, Tennessee State Nickname,