Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- | Route | Date Range | Fare | Price | Journey |
- | Adelaide to Brisbane (09 August 2023 - 12 September 2023) | lite | $159 | One Way |
- | Adelaide to Brisbane (09 August 2023 - 12 September 2023) | choice | $159 | One Way |
- | Adelaide to Cairns (17 August 2023 - 07 September 2023) | lite | $149 | One Way |
- | Adelaide to Cairns (17 August 2023 - 07 September 2023) | choice | $149 | One Way |
- | Adelaide to Melbourne (25 July 2023 - 12 September 2023) | choice | $95 | One Way |
- | Adelaide to Perth (26 July 2023 - 13 September 2023) | lite | $179 | One Way |
- | Adelaide to Perth (26 July 2023 - 13 September 2023) | choice | $179 | One Way |
- | Ballina (Byron Bay) to Sydney (05 August 2023 - 02 September 2023) | lite | $55 | One Way |
- | Ballina (Byron Bay) to Sydney (05 August 2023 - 02 September 2023) | choice | $55 | One Way |
- | Brisbane to Adelaide (09 August 2023 - 12 September 2023) | lite | $159 | One Way |
- | Brisbane to Adelaide (09 August 2023 - 12 September 2023) | choice | $159 | One Way |
- | Brisbane to Canberra (18 July 2023 - 12 September 2023) | lite | $129 | One Way |
- | Brisbane to Canberra (18 July 2023 - 12 September 2023) | choice | $129 | One Way |
- | Brisbane to Emerald (19 July 2023 - 07 September 2023) | choice | $139 | One Way |
- | Brisbane to Gladstone (18 July 2023 - 12 September 2023) | choice | $99 | One Way |
- | Brisbane to Hobart (17 July 2023 - 10 September 2023) | lite | $129 | One Way |
- | Brisbane to Hobart (17 July 2023 - 10 September 2023) | choice | $129 | One Way |
- | Brisbane to Launceston (17 July 2023 - 10 September 2023) | lite | $119 | One Way |
- | Brisbane to Launceston (17 July 2023 - 10 September 2023) | choice | $119 | One Way |
- | Brisbane to Melbourne (25 July 2023 - 12 September 2023) | choice | $125 | One Way |
- | Brisbane to Perth (19 July 2023 - 13 September 2023) | lite | $219 | One Way |
- | Brisbane to Perth (19 July 2023 - 13 September 2023) | choice | $219 | One Way |
- | Brisbane to Sydney (25 July 2023 - 12 September 2023) | choice | $99 | One Way |
- | Cairns to Adelaide (17 August 2023 - 07 September 2023) | lite | $149 | One Way |
- | Cairns to Adelaide (17 August 2023 - 07 September 2023) | choice | $149 | One Way |
- | Cairns to Melbourne (24 July 2023 - 14 August 2023) | lite | $145 | One Way |
- | Cairns to Melbourne (24 July 2023 - 14 August 2023) | choice | $145 | One Way |
- | Canberra to Brisbane (18 July 2023 - 12 September 2023) | lite | $129 | One Way |
- | Canberra to Brisbane (18 July 2023 - 12 September 2023) | choice | $129 | One Way |
- | Canberra to Gold Coast (18 July 2023 - 13 September 2023) | lite | $99 | One Way |
- | Canberra to Gold Coast (18 July 2023 - 13 September 2023) | choice | $99 | One Way |
- | Canberra to Melbourne (25 July 2023 - 12 September 2023) | choice | $105 | One Way |
- | Emerald to Brisbane (18 July 2023 - 10 September 2023) | choice | $139 | One Way |
- | Gladstone to Brisbane (18 July 2023 - 12 September 2023) | choice | $99 | One Way |
- | Gold Coast to Canberra (18 July 2023 - 13 September 2023) | lite | $99 | One Way |
- | Gold Coast to Canberra (18 July 2023 - 13 September 2023) | choice | $99 | One Way |
- | Gold Coast to Melbourne (18 July 2023 - 12 September 2023) | lite | $99 | One Way |
- | Gold Coast to Melbourne (18 July 2023 - 12 September 2023) | choice | $99 | One Way |
- | Gold Coast to Sydney (26 July 2023 - 13 September 2023) | lite | $79 | One Way |
- | Gold Coast to Sydney (26 July 2023 - 13 September 2023) | choice | $79 | One Way |
- | Hamilton Island to Sydney (29 July 2023 - 14 September 2023) | lite | $135 | One Way |
- | Hamilton Island to Sydney (29 July 2023 - 14 September 2023) | choice | $135 | One Way |
- | Hobart to Brisbane (17 July 2023 - 10 September 2023) | lite | $129 | One Way |
- | Hobart to Brisbane (17 July 2023 - 10 September 2023) | choice | $129 | One Way |
- | Hobart to Melbourne (25 July 2023 - 13 September 2023) | lite | $79 | One Way |
- | Hobart to Melbourne (25 July 2023 - 13 September 2023) | choice | $79 | One Way |
- | Hobart to Perth (23 July 2023 - 11 September 2023) | lite | $219 | One Way |
- | Hobart to Perth (23 July 2023 - 11 September 2023) | choice | $219 | One Way |
- | Hobart to Sydney (18 July 2023 - 13 September 2023) | lite | $89 | One Way |
- | Hobart to Sydney (18 July 2023 - 13 September 2023) | choice | $89 | One Way |
- | Launceston to Brisbane (17 July 2023 - 10 September 2023) | lite | $119 | One Way |
- | Launceston to Brisbane (17 July 2023 - 10 September 2023) | choice | $119 | One Way |
- | Launceston to Melbourne (27 July 2023 - 13 September 2023) | lite | $69 | One Way |
- | Launceston to Melbourne (27 July 2023 - 13 September 2023) | choice | $69 | One Way |
- | Launceston to Sydney (19 July 2023 - 13 September 2023) | lite | $79 | One Way |
- | Launceston to Sydney (19 July 2023 - 13 September 2023) | choice | $79 | One Way |
- | Melbourne to Adelaide (25 July 2023 - 12 September 2023) | choice | $95 | One Way |
- | Melbourne to Brisbane (25 July 2023 - 12 September 2023) | choice | $125 | One Way |
- | Melbourne to Cairns (24 July 2023 - 14 August 2023) | lite | $145 | One Way |
- | Melbourne to Cairns (24 July 2023 - 14 August 2023) | choice | $145 | One Way |
- | Melbourne to Canberra (25 July 2023 - 12 September 2023) | choice | $105 | One Way |
- | Melbourne to Gold Coast (18 July 2023 - 12 September 2023) | lite | $99 | One Way |
- | Melbourne to Gold Coast (18 July 2023 - 12 September 2023) | choice | $99 | One Way |
- | Melbourne to Hobart (25 July 2023 - 13 September 2023) | lite | $79 | One Way |
- | Melbourne to Hobart (25 July 2023 - 13 September 2023) | choice | $79 | One Way |
- | Melbourne to Launceston (27 July 2023 - 13 September 2023) | lite | $69 | One Way |
- | Melbourne to Launceston (27 July 2023 - 13 September 2023) | choice | $69 | One Way |
- | Melbourne to Perth (19 July 2023 - 13 September 2023) | lite | $229 | One Way |
- | Melbourne to Perth (19 July 2023 - 13 September 2023) | choice | $229 | One Way |
- | Melbourne to Sydney (18 July 2023 - 11 September 2023) | choice | $99 | One Way |
- | Perth to Adelaide (26 July 2023 - 13 September 2023) | lite | $179 | One Way |
- | Perth to Adelaide (26 July 2023 - 13 September 2023) | choice | $179 | One Way |
- | Perth to Brisbane (19 July 2023 - 13 September 2023) | lite | $219 | One Way |
- | Perth to Brisbane (19 July 2023 - 13 September 2023) | choice | $219 | One Way |
- | Perth to Hobart (23 July 2023 - 11 September 2023) | lite | $219 | One Way |
- | Perth to Hobart (23 July 2023 - 11 September 2023) | choice | $219 | One Way |
- | Perth to Melbourne (19 July 2023 - 13 September 2023) | lite | $229 | One Way |
- | Perth to Melbourne (19 July 2023 - 13 September 2023) | choice | $229 | One Way |
- | Perth to Sydney (19 July 2023 - 13 September 2023) | lite | $219 | One Way |
- | Perth to Sydney (19 July 2023 - 13 September 2023) | choice | $219 | One Way |
- | Sydney to Ballina (Byron Bay) (05 August 2023 - 02 September 2023) | lite | $55 | One Way |
- | Sydney to Ballina (Byron Bay) (05 August 2023 - 02 September 2023) | choice | $55 | One Way |
- | Sydney to Brisbane (25 July 2023 - 12 September 2023) | choice | $99 | One Way |
- | Sydney to Gold Coast (26 July 2023 - 13 September 2023) | lite | $79 | One Way |
- | Sydney to Gold Coast (26 July 2023 - 13 September 2023) | choice | $79 | One Way |
- | Sydney to Hamilton Island (29 July 2023 - 14 September 2023) | lite | $135 | One Way |
- | Sydney to Hamilton Island (29 July 2023 - 14 September 2023) | choice | $135 | One Way |
- | Sydney to Hobart (18 July 2023 - 13 September 2023) | lite | $89 | One Way |
- | Sydney to Hobart (18 July 2023 - 13 September 2023) | choice | $89 | One Way |
- | Sydney to Launceston (19 July 2023 - 13 September 2023) | lite | $79 | One Way |
- | Sydney to Launceston (19 July 2023 - 13 September 2023) | choice | $79 | One Way |
- | Sydney to Melbourne (18 July 2023 - 11 September 2023) | choice | $99 | One Way |
- | Sydney to Perth (19 July 2023 - 13 September 2023) | lite | $219 | One Way |
- | Sydney to Perth (19 July 2023 - 13 September 2023) | choice | $219 | One Way |
- | Sydney to Townsville (18 July 2023 - 12 September 2023) | lite | $105 | One Way |
- | Sydney to Townsville (18 July 2023 - 12 September 2023) | choice | $105 | One Way |
- | Townsville to Sydney (18 July 2023 - 12 September 2023) | lite | $105 | One Way |
- | Townsville to Sydney (18 July 2023 - 12 September 2023) | choice | $105 | One Way |
- Code:
- const text = `Adelaide to Brisbane (09 August 2023 - 12 September 2023)
- Fare: lite
- Price from: $159
- Journey: One Way
- Adelaide to Brisbane (09 August 2023 - 12 September 2023)
- Fare: choice
- Price from: $159
- Journey: One Way
- Adelaide to Cairns (17 August 2023 - 07 September 2023)
- Fare: lite
- Price from: $149
- Journey: One Way
- Adelaide to Cairns (17 August 2023 - 07 September 2023)
- Fare: choice
- Price from: $149
- Journey: One Way
- Adelaide to Melbourne (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $95
- Journey: One Way
- Adelaide to Perth (26 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $179
- Journey: One Way
- Adelaide to Perth (26 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $179
- Journey: One Way
- Ballina (Byron Bay) to Sydney (05 August 2023 - 02 September 2023)
- Fare: lite
- Price from: $55
- Journey: One Way
- Ballina (Byron Bay) to Sydney (05 August 2023 - 02 September 2023)
- Fare: choice
- Price from: $55
- Journey: One Way
- Brisbane to Adelaide (09 August 2023 - 12 September 2023)
- Fare: lite
- Price from: $159
- Journey: One Way
- Brisbane to Adelaide (09 August 2023 - 12 September 2023)
- Fare: choice
- Price from: $159
- Journey: One Way
- Brisbane to Canberra (18 July 2023 - 12 September 2023)
- Fare: lite
- Price from: $129
- Journey: One Way
- Brisbane to Canberra (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $129
- Journey: One Way
- Brisbane to Emerald (19 July 2023 - 07 September 2023)
- Fare: choice
- Price from: $139
- Journey: One Way
- Brisbane to Gladstone (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Brisbane to Hobart (17 July 2023 - 10 September 2023)
- Fare: lite
- Price from: $129
- Journey: One Way
- Brisbane to Hobart (17 July 2023 - 10 September 2023)
- Fare: choice
- Price from: $129
- Journey: One Way
- Brisbane to Launceston (17 July 2023 - 10 September 2023)
- Fare: lite
- Price from: $119
- Journey: One Way
- Brisbane to Launceston (17 July 2023 - 10 September 2023)
- Fare: choice
- Price from: $119
- Journey: One Way
- Brisbane to Melbourne (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $125
- Journey: One Way
- Brisbane to Perth (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $219
- Journey: One Way
- Brisbane to Perth (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $219
- Journey: One Way
- Brisbane to Sydney (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Cairns to Adelaide (17 August 2023 - 07 September 2023)
- Fare: lite
- Price from: $149
- Journey: One Way
- Cairns to Adelaide (17 August 2023 - 07 September 2023)
- Fare: choice
- Price from: $149
- Journey: One Way
- Cairns to Melbourne (24 July 2023 - 14 August 2023)
- Fare: lite
- Price from: $145
- Journey: One Way
- Cairns to Melbourne (24 July 2023 - 14 August 2023)
- Fare: choice
- Price from: $145
- Journey: One Way
- Canberra to Brisbane (18 July 2023 - 12 September 2023)
- Fare: lite
- Price from: $129
- Journey: One Way
- Canberra to Brisbane (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $129
- Journey: One Way
- Canberra to Gold Coast (18 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $99
- Journey: One Way
- Canberra to Gold Coast (18 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Canberra to Melbourne (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $105
- Journey: One Way
- Emerald to Brisbane (18 July 2023 - 10 September 2023)
- Fare: choice
- Price from: $139
- Journey: One Way
- Gladstone to Brisbane (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Gold Coast to Canberra (18 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $99
- Journey: One Way
- Gold Coast to Canberra (18 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Gold Coast to Melbourne (18 July 2023 - 12 September 2023)
- Fare: lite
- Price from: $99
- Journey: One Way
- Gold Coast to Melbourne (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Gold Coast to Sydney (26 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $79
- Journey: One Way
- Gold Coast to Sydney (26 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $79
- Journey: One Way
- Hamilton Island to Sydney (29 July 2023 - 14 September 2023)
- Fare: lite
- Price from: $135
- Journey: One Way
- Hamilton Island to Sydney (29 July 2023 - 14 September 2023)
- Fare: choice
- Price from: $135
- Journey: One Way
- Hobart to Brisbane (17 July 2023 - 10 September 2023)
- Fare: lite
- Price from: $129
- Journey: One Way
- Hobart to Brisbane (17 July 2023 - 10 September 2023)
- Fare: choice
- Price from: $129
- Journey: One Way
- Hobart to Melbourne (25 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $79
- Journey: One Way
- Hobart to Melbourne (25 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $79
- Journey: One Way
- Hobart to Perth (23 July 2023 - 11 September 2023)
- Fare: lite
- Price from: $219
- Journey: One Way
- Hobart to Perth (23 July 2023 - 11 September 2023)
- Fare: choice
- Price from: $219
- Journey: One Way
- Hobart to Sydney (18 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $89
- Journey: One Way
- Hobart to Sydney (18 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $89
- Journey: One Way
- Launceston to Brisbane (17 July 2023 - 10 September 2023)
- Fare: lite
- Price from: $119
- Journey: One Way
- Launceston to Brisbane (17 July 2023 - 10 September 2023)
- Fare: choice
- Price from: $119
- Journey: One Way
- Launceston to Melbourne (27 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $69
- Journey: One Way
- Launceston to Melbourne (27 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $69
- Journey: One Way
- Launceston to Sydney (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $79
- Journey: One Way
- Launceston to Sydney (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $79
- Journey: One Way
- Melbourne to Adelaide (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $95
- Journey: One Way
- Melbourne to Brisbane (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $125
- Journey: One Way
- Melbourne to Cairns (24 July 2023 - 14 August 2023)
- Fare: lite
- Price from: $145
- Journey: One Way
- Melbourne to Cairns (24 July 2023 - 14 August 2023)
- Fare: choice
- Price from: $145
- Journey: One Way
- Melbourne to Canberra (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $105
- Journey: One Way
- Melbourne to Gold Coast (18 July 2023 - 12 September 2023)
- Fare: lite
- Price from: $99
- Journey: One Way
- Melbourne to Gold Coast (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Melbourne to Hobart (25 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $79
- Journey: One Way
- Melbourne to Hobart (25 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $79
- Journey: One Way
- Melbourne to Launceston (27 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $69
- Journey: One Way
- Melbourne to Launceston (27 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $69
- Journey: One Way
- Melbourne to Perth (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $229
- Journey: One Way
- Melbourne to Perth (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $229
- Journey: One Way
- Melbourne to Sydney (18 July 2023 - 11 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Perth to Adelaide (26 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $179
- Journey: One Way
- Perth to Adelaide (26 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $179
- Journey: One Way
- Perth to Brisbane (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $219
- Journey: One Way
- Perth to Brisbane (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $219
- Journey: One Way
- Perth to Hobart (23 July 2023 - 11 September 2023)
- Fare: lite
- Price from: $219
- Journey: One Way
- Perth to Hobart (23 July 2023 - 11 September 2023)
- Fare: choice
- Price from: $219
- Journey: One Way
- Perth to Melbourne (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $229
- Journey: One Way
- Perth to Melbourne (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $229
- Journey: One Way
- Perth to Sydney (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $219
- Journey: One Way
- Perth to Sydney (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $219
- Journey: One Way
- Sydney to Ballina (Byron Bay) (05 August 2023 - 02 September 2023)
- Fare: lite
- Price from: $55
- Journey: One Way
- Sydney to Ballina (Byron Bay) (05 August 2023 - 02 September 2023)
- Fare: choice
- Price from: $55
- Journey: One Way
- Sydney to Brisbane (25 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Sydney to Gold Coast (26 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $79
- Journey: One Way
- Sydney to Gold Coast (26 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $79
- Journey: One Way
- Sydney to Hamilton Island (29 July 2023 - 14 September 2023)
- Fare: lite
- Price from: $135
- Journey: One Way
- Sydney to Hamilton Island (29 July 2023 - 14 September 2023)
- Fare: choice
- Price from: $135
- Journey: One Way
- Sydney to Hobart (18 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $89
- Journey: One Way
- Sydney to Hobart (18 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $89
- Journey: One Way
- Sydney to Launceston (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $79
- Journey: One Way
- Sydney to Launceston (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $79
- Journey: One Way
- Sydney to Melbourne (18 July 2023 - 11 September 2023)
- Fare: choice
- Price from: $99
- Journey: One Way
- Sydney to Perth (19 July 2023 - 13 September 2023)
- Fare: lite
- Price from: $219
- Journey: One Way
- Sydney to Perth (19 July 2023 - 13 September 2023)
- Fare: choice
- Price from: $219
- Journey: One Way
- Sydney to Townsville (18 July 2023 - 12 September 2023)
- Fare: lite
- Price from: $105
- Journey: One Way
- Sydney to Townsville (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $105
- Journey: One Way
- Townsville to Sydney (18 July 2023 - 12 September 2023)
- Fare: lite
- Price from: $105
- Journey: One Way
- Townsville to Sydney (18 July 2023 - 12 September 2023)
- Fare: choice
- Price from: $105
- Journey: One Way`;
- const input = text; // Place the entire input text here.
- function textToMarkdownTable(input) {
- const lines = input.trim().split('\n');
- const headers = ['Route', 'Date Range', 'Fare', 'Price', 'Journey'];
- let table = [headers];
- let row = [];
- for (let i = 0; i < lines.length; i++) {
- const line = lines[i].trim();
- if (line.includes(" to ")) {
- row.push(line);
- } else if (line.startsWith('Fare:')) {
- row.push(line.split(':')[1].trim());
- } else if (line.startsWith('Price from:')) {
- row.push(line.split(':')[1].trim());
- } else if (line.startsWith('Journey:')) {
- row.push(line.split(':')[1].trim());
- table.push(row);
- row = [];
- }
- }
- const markdown = table.map(row => '| ' + row.join(' | ') + ' |').join('\n');
- return markdown;
- }
- console.log(textToMarkdownTable(input));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement