geetanjali123

Regex detection API

Mar 18th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. Regex detection API
  2. url :http://35.221.160.146:5020/regexResult
  3. input :string
  4. e.g. ["ESTL-DT/ELE/4500251154 SP/ES/15/2018 lsdlsdlsdlsld 43493m dsd ssd
  5. IMBD/WBC/122/195/18
  6. 4500243354
  7. 4400126457
  8. SI/121/2018-19
  9. GST/18-19/025
  10. ESTL-DAT/MAH/4500244967
  11. ESTL/4500232878
  12. 4500254044
  13. ESTL-DTA/ETX/4500254296
  14. ESTL-DTA/ELE/4500253693
  15. AAFCV0532N
  16. 24AAACE1741P1ZN"]
  17.  
  18. output: [
  19. {
  20. "Regex_Type": "GSTIN",
  21. "Regex_id": "GSTIN",
  22. "length": 15,
  23. "value": "24AAACE1741P1ZN"
  24. },
  25. {
  26. "Regex_Type": "EssarDocument",
  27. "Regex_id": "ESSAR_DOC_1",
  28. "length": 22,
  29. "value": "ESTL-DT/ELE/4500251154"
  30. },
  31. {
  32. "Regex_Type": "Document",
  33. "Regex_id": "DOC_1",
  34. "length": 13,
  35. "value": "IMBD/WBC/122/195/18"
  36. },
  37. {
  38. "Regex_Type": "Document",
  39. "Regex_id": "DOC_2",
  40. "length": 13,
  41. "value": "SP/ES/15/2018"
  42. },
  43. {
  44. "Regex_Type": "Document",
  45. "Regex_id": "DOC_5",
  46. "length": 12,
  47. "value": "DT/ELE/45002"
  48. }
  49. ]
Advertisement
Add Comment
Please, Sign In to add comment